//const host = location.host
const origin = location.origin;
const pathname = location.pathname;

export const baseurl = origin + pathname;
export const imgUrl = '/upload/';

export const baseURL = import.meta.env.MODE === 'production' ? import.meta.env.VITE_APP_BASE_API : import.meta.env.VITE_APP_SERVER_URL_EXT;
